<template>
  <div id="app">
    <router-view v-if="isRouterAlive"></router-view>
		<loading v-show="$store.getters.getLoading"></loading>
  </div>
</template>

<script>
export default {
  name: "App",
    data(){
      return{
          isRouterAlive:true
      }
    },
	
    provide(){
      return{
        reload:this.reload
      }
    },
  methods:{
    reload(){
        this.isRouterAlive=false;
        this.$nextTick(function(){
            this.isRouterAlive=true;
        })
    }
  },
  components:{
  }
	
};
</script>


<style>
@import "./assets/css/public.css";
.myactive{
	  background: skyblue;
	  font-size: 40px;
	  color: yellow;
	}
.header{
  /* background: #06d039; */
}
 .van-nav-bar {
	 background: #06d039;
	 background: linear-gradient(90deg,#0adb31 0%,#00be47 100%);
}
.van-nav-bar>.van-nav-bar__title {
  color: #fff ;
  max-width: 100%;
  min-width: 60%;
}
.van-nav-bar .van-nav-bar__title .van-icon {
  color: #141414;
}
.van-nav-bar .van-nav-bar__text {
  color: rgba(255, 255, 255, 1);
}
.van-nav-bar>.van-nav-bar__left .van-icon,.van-nav-bar>.van-nav-bar__right .van-icon{
  color: rgba(255, 255, 255, 1);
}
.van-icon {
    font-size: 23px;
}
.van-pull-refresh{
  overflow: visible;
}
/* //收藏图标 */
.collect_lcon .van-goods-action-icon__icon{
	color: red;
}
.collect_lcon{
	color: red;
}

/* 商品列表盒子 */
.comdList{
	/* overflow: scroll; */
	height: 480px;
	/* min-height: 430px; */
	/* display: flex;
	flex-direction: column;
	flex: 1; */
} 
/* //加载完毕 */
.loading_finish{
	text-align: center;
	line-height: 50px;
	color: #141414;
}
/* 购买按钮 */
.van-goods-action-button--first,.van-goods-action-button--last {
		border-radius:0px;
		margin-right: 0px;
	}

/* 购物烂 */
.van-goods-action-icon,.van-goods-action-button{
		    height: 55px;
	}
</style>
